﻿<?php
	$sql="INSERT INTO tbl_product_type	(`name`			,`detail`)
							VALUES		('$_POST[name]'	,'$_POST[detail]')";
	
	$res=mysql_query($sql);
	if(!$res)
		echo "<script>history.go(-1)</script>";
	else 
		echo "<script>window.location='?zone=product_type'</script>";
?>
